package com.wjpeng.wms.service;

import com.wjpeng.wms.domain.Product;
import com.wjpeng.wms.query.ProductQueryObject;
import com.wjpeng.wms.query.QueryObject;
import com.wjpeng.wms.util.PageResult;

import java.util.List;

public interface IProductService {
    void saveOrUpdate(Product d);

    void delete(Long id);

    Product get(Long id);

    List<Product> list();

    PageResult result(ProductQueryObject qo);
}
